package com.dsg.entity.config;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 導入導出映射配置子表
 * </p>
 *
 * @author system
 * @since 2020-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_config_mapping_sub")
@ApiModel(value = "DsgConfigMappingSub对象", description = "導入導出映射配置子表")
public class DsgConfigMappingSub implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "外鍵")
    @TableField("PID")
    private String pid;

    @ApiModelProperty(value = "對應資料庫字段")
    @TableField("DB_ COLUMN")
    private String dbColumn;

    @ApiModelProperty(value = "對應檔字段/位置")
    @TableField("FILE_INDEX")
    private String fileIndex;

    @ApiModelProperty(value = "默認值")
    @TableField("DEFAULT_VALUE")
    private String defaultValue;


}
